from transformers import pipeline
import torch

print("CUDA available:", torch.cuda.is_available())
print("CUDA device_count:", torch.cuda.device_count())

classifier = pipeline(task="sentiment-analysis")
result = classifier("I've been waiting for a HuggingFace course my whole life.")
print(result)
